/*******************************************************************************
* Project: QSAR(Cute Software Architecture) 
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: AppTestRte.h
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: AppTest
*
*******************************************************************************/

#ifndef APPTESTRTE_H
#define APPTESTRTE_H

/** HEADER FILES **/
#include "DemType.h"
#include "DcmType.h"
#include "NvmType.h"
#include "ComStackType.h"
#include "NmType.h"
#include "CanNmType.h"



/** GLOBAL FUNCTION DECLARATION **/
extern Std_ReturnType Dem_SetEventStatus(
    Dem_EventIdType EventId,
    Dem_EventStatusType EventStatus
);

extern Std_ReturnType Dem_SetOperationCycleState(
    uint8 OperationCycleId,
    Dem_OperationCycleStateType CycleState
);

extern Std_ReturnType DcmDsl_GetSesCtrlType(
    Dcm_SesCtrlType* SesCtrlType
);

extern void AppCom_SetSignal_Channel1_Qsar_Qsar_Can3_Qsar_Can3_Yaya(
    uint8* data
);
                                 
extern void AppCom_SetSignal_Channel1_Qsar_Qsar_Can3_Qsar_Can3_Haha(
    uint8* data
);
              
extern void AppCom_SetSignal_Channel1_Qsar_Qsar_Can2_Qsar_Can2_SignalC(
    uint8* data
);
                    
extern void AppCom_SetSignal_Channel1_Qsar_Qsar_Can2_Qsar_Can2_SignalB(
    uint8* data
);
                    
extern void AppCom_SetSignal_Channel1_Qsar_Qsar_Can2_Qsar_Can2_SignalA(
    uint8* data
);
                    
extern void AppCom_SetSignal_Channel1_Qsar_Qsar_Can1_Qsar_Can1_SignalD_Intel(
    uint8* data
);
                    
extern void AppCom_SetSignal_Channel1_Qsar_Qsar_Can1_Qsar_Can1_SignalC_Motorola(
    uint8* data
);
                    
extern void AppCom_SetSignal_Channel1_Qsar_Qsar_Can1_Qsar_Can1_SignalB_Intel(
    uint8* data
);
                    
extern void AppCom_SetSignal_Channel1_Qsar_Qsar_Can1_Qsar_Can1_SignalA_Motorola(
    uint8* data
);
                                 
extern void AppCom_GetSignal_Channel1_Other_Other_Can2_Other_Can2_SignalB(
    uint8* data
);
                    
extern void AppCom_GetSignal_Channel1_Other_Other_Can2_Other_Can2_SignalA(
    uint8* data
);
                    
extern void AppCom_GetSignal_Channel1_Other_Other_Can1_Other_Can1_SignalD_Intel(
    uint8* data
);
                    
extern void AppCom_GetSignal_Channel1_Other_Other_Can1_Other_Can1_SignalC_Motorala(
    uint8* data
);
                    
extern void AppCom_GetSignal_Channel1_Other_Other_Can1_Other_Can1_SignalB_Intel(
    uint8* data
);
                    
extern void AppCom_GetSignal_Channel1_Other_Other_Can1_Other_Can1_SignalA_Motorala(
    uint8* data
);


extern Std_ReturnType NvM_ReadBlock(
    NvM_BlockIdType BlockId,
    void* NvM_DstPtr
);

extern Std_ReturnType NvM_WriteBlock(
    NvM_BlockIdType BlockId,
    const void* NvM_SrcPtr
);

extern void CanNm_TriggerRequest(
    uint8 Request
);

extern Std_ReturnType CanNm_GetState(
    NetworkHandleType nmChannelHandle, 
    Nm_StateType* nmStatePtr, 
    Nm_ModeType* nmModePtr
);

extern void CAN_SilentMode(
    void
);

extern void CAN_NormalMode(
    void
);




#endif
